<?php

class Video_Form_Add extends Nuo_Form
{
	function init()
	{
		$this -> addChild('text', 'source_url', array('label' => 'Video Link'));

		$this -> addChild('radio', 'privacy', array(
			'label' => 'privacy',
			'multiOptions' => array(
				0 => 'Everyone',
				1 => 'Friends',
				2 => 'Friends of Friends',
				3 => 'Onlyme'
			),
		));

		/**
		 $this -> addChild('text', 'title', array('label' => 'Title'));
		 * $this -> addChild('textarea', 'description', array('label' => 'Description'));
		 *
		 */
		$this -> addChild('group', '_footer');

		$this -> _footer -> addChild('submit', '_submit');
	}

}
